package org.grow.present.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 银行表
 * @TableName bank
 */
@TableName(value ="bank")
@Data
public class Bank {
    /**
     * 银行id
     */
    @TableId(value = "bank_id", type = IdType.AUTO)
    private Integer bankId;

    /**
     * 银行名称
     */
    @TableField(value = "bank_name")
    private String bankName;

    /**
     * 电子邮箱
     */
    @TableField(value = "bank_email")
    private String bankEmail;

    /**
     * 密码
     */
    @TableField(value = "bank_password")
    private String bankPassword;

    /**
     * 贷款利率
     */
    @TableField(value = "bank_rate")
    private String bankRate;

    /**
     * 联系方式
     */
    @TableField(value = "bank_phone")
    private String bankPhone;

    /**
     * 贷款期限 月为单位，最少3个月
     */
    @TableField(value = "bank_length")
    private String bankLength;

    /**
     * 省id
     */
    @TableField(value = "bank_pro_id")
    private String bankProId;

    /**
     * 市ID
     */
    @TableField(value = "bank_cit_id")
    private String bankCitId;

    /**
     * 区ID
     */
    @TableField(value = "bank_ara_id")
    private String bankAraId;

    /**
     * 详细地址
     */
    @TableField(value = "bank_adress")
    private String bankAdress;

    /**
     * 删除标识 0 正常 2 删除
     */
    @TableField(value = "bank_del")
    private String bankDel;

    /**
     * 贷款产品说明
     */
    @TableField(value = "bank_bz")
    private String bankBz;
}